package com.bozhao.zdy.starter.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author ZhaoBo (zhaobo@shanshu.ai)
 * @date 2022/3/10
 */
@ConfigurationProperties(prefix = "custom")
public class CustomStarterProperties {

    private String code;

    private String name;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "CustomStarterProperties{" + "code='" + code + '\'' + ", name='" + name + '\'' + '}';
    }
}
